.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav {
  width: 25%;
  position: fixed;
  top: 80px;
  left: 0;
  height: 80px;
  display: flex;
  flex-wrap: wrap;
}

nav p {
  margin: 0;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
}


.active {
  background-color: #61dafb;
  color: white;
}

.List {
  width: 75%;
  position: absolute;
  top: 0;
  right: 0;
}

.food-item {
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  background-color: #f2f2f2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.all-container {
  position: relative;
  /* 确保小球能正确定位 */
  width: 100%;
  height: 100vh;
  /* 占据整个视口高度 */
}

#ball {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  /* 其他样式 */
}

.rv-tabs {
  margin-bottom: 20px;
}

.rv-tab__pane {
  padding: 24px 20px;
  background-color: #fff;
  font-size: 14px;
}

.rv-tabs--card .rv-tab__pane {
  background-color: transparent;
}